﻿<!DOCTYPE html>
<html>
<head>
<title>退租办理</title>
<meta charset="utf-8">
<meta name="keywords" content="短照中心-湘潭市康复养老中心;">
<meta name="description" content="短照中心-湘潭市康复养老中心;">
<link rel="stylesheet" rev="stylesheet" href="css/framepage.css" type="text/css" media="screen,print" />
<link rel="stylesheet" type="text/css" href="js/waitBox/wait.css">
<script src="js/vue.js"></script>
<script src="js/jquery-3.2.1.min.js"></script>
<script src="js/jquery.cookie.js"></script>
<script src="js/JSON-js-master/json2.js"></script>
<script src="js/waitBox/wait.js"></script>
<script src="js/purl.js"></script>
<style type="text/css">
@media print {
.no_print {
	display: none;
}
@page {
margin: 0 10mm 0;
}
.form_div ul {
	margin-top: 0;
}
}
</style>
</head>

<body style="background:rbg(216,216,216);">
<div class="form_div" id="vue_vm_list">
  <h3>第二步：退租完成</h3>
  <div style="margin:0;padding:0;" v-for="todo in todos">
    <div style="clear:both;"></div>
    <h3>长者：</h3>
    <ul v-if="todo.elderType!='1'">
      <li><span>{{todo.elderName}}（院外长者）</span></li>
    </ul>
    <ul v-if="todo.elderType=='1'">
      <li><span>{{todo.elderName}}</span></li>
      <li><span>{{todo.buildingName}} {{todo.floorName}} {{todo.roomNumber}}室 {{todo.bedNumber}}床</span></li>
      <li><span style="color:#ff0000;">科室负责人：{{todo.name}}</span></li>
      <li><span style="color:#ff0000;">目前状态：{{todo.beHospitalStatus=='0'?'正在住院':(todo.beHospitalStatus=='1'?'已出院':'院外')}}</span></li>
    </ul>
    <ul>
      <li style="color:#0000ff;"><span style="margin-right:20px;">资料录入：</span><span style="margin-right:10px;">{{todo.createName}}</span><span style="margin-right:10px;">{{todo.createTime}}</span></li>
    </ul>
    <div style="clear:both;"></div>
    <h3>租赁信息：</h3>
    <div style="margin:0;padding:0;" v-for="leaseForm in todo.leaseForms">
      <div v-bind:id="leaseForm.leaseId + '_row'">
        <ul>
          <li><span class="tit" style="width:70px;"></span></li>
          <li style="width:200px;"><span>{{leaseForm.leaseSupplyForm.suppliesName}}（{{leaseForm.leaseType=='1'?'院内租赁':'院外租赁'}}）</span></li>
          <li><span style="width:150px;color:#009688;">型号：{{leaseForm.leaseSupplyForm.model}}</span></li>
          <li><span style="width:150px;color:#009688;">押金：{{leaseForm.leaseSupplyForm.cashPledge}}</span></li>
          <li><span style="width:170px;color:#009688;">租金：{{leaseForm.leaseSupplyForm.rent}}元/天</span></li>
        </ul>
        <ul>
          <li><span class="tit" style="width:100px;">租赁日期：</span></li>
          <li><span>{{leaseForm.leaseStartTime}}至{{leaseForm.leaseEndTime}}</span></li>
        </ul>
        <ul>
          <li><span class="tit" style="width:100px;">租赁时长：</span></li>
          <li><span style="font-size:16px;color:#ff0000;">{{dateDiff(leaseForm.leaseEndTime,leaseForm.leaseStartTime)}}天</span></li>
        </ul>
        <ul>
          <li><span class="tit" style="width:70px;">退租日期：</span></li>
          <li><span>{{leaseForm.returnYear}}-{{leaseForm.returnMonth}}-{{leaseForm.returnDay}}</span></li>
        </ul>
        <ul>
          <li><span class="tit" style="width:100px;">实际租赁时长：</span></li>
          <li><span style="font-size:16px;color:#0000ff;">{{getReturnTimeDiffStart(leaseForm)}}天</span></li>
        </ul>
        <ul>
          <li><span class="tit" style="width:100px;">实际租金：</span></li>
          <li><span style="font-size:16px;color:#ff0000;">{{getRealRentTotal(leaseForm)}}元</span></li>
        </ul>
        <ul>
          <li><span class="tit" style="width:100px;">已缴租金：</span></li>
          <li><span style="font-size:16px;color:#ff0000;">{{getAlreadyRentTotal(leaseForm)}}元</span></li>
        </ul>
        <ul>
          <li><span class="tit" style="width:100px;">已缴押金：</span></li>
          <li><span style="font-size:16px;color:#ff0000;">{{getAlreadyPledge(leaseForm)}}元</span></li>
        </ul>
        <ul>
          <li><span class="tit" style="width:280px;">已缴费用合计（已缴租金 + 已缴押金）：</span></li>
          <li><span style="font-size:16px;color:#ff0000;">{{getAlreadyPay(leaseForm)}}元</span></li>
        </ul>
        <ul>
          <li><span class="tit" style="width:100px;">支付方式：</span></li>
          <li><span>{{getPayWayName(leaseForm.payWay)}}</span></li>
        </ul>
        <ul>
          <li><span class="tit" style="width:280px;">应退（已缴租金 + 已缴押金 - 实际租金）：</span></li>
          <li><span style="font-size:16px;color:#0000ff;">{{getMoneyToReturn(leaseForm)}}元</span></li>
          <!--
            <li><span style="font-size:16px;color:#0000ff;">无</span></li>
            -->
        </ul>
        <ul>
          <li><span class="tit" style="width:100px;">实退：</span></li>
          <li><span style="font-size:16px;color:#ff0000;">{{leaseForm.returnMoney}}元</span></li>
        </ul>
      </div>
    </div>
  </div>
  <div class="for_ie_div"><!--为兼容IE-->
    <ul>
      <li>
        <input type="button" value="打印" class="button button1" onclick="window.print();" style="height:38px;"/>
      </li>
    </ul>
  </div>
</div>
<div style="clear:both;"></div>
<script src="js/common.js"></script> 
<script src="js/common_date.js"></script> 
<script src="js/common_function.js"></script> 
<script src="js/busi/lease_surrender01.js"></script>
</body>
</html>